package org.jeecg.modules.system.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 联系人通知表
 * @Author: jeecg-boot
 * @Date:   2019-09-25
 * @Version: V1.0
 */
@Data
@TableName("oa_linkman_notice")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="oa_linkman_notice对象", description="联系人通知表")
public class OaLinkmanNotice {
    
	/**编号*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "编号")
	private String id;
	/**通知对象用户id(sys_user.id)*/
	@Excel(name = "通知对象用户id(sys_user.id)", width = 15)
    @ApiModelProperty(value = "通知对象用户id(sys_user.id)")
	private String targetUserId;
	/**通知类型（1:通讯录申请确认通知,2:通讯录申请被同意通知,3:通讯录申请被拒绝通知,PD打头:流程消息, AS打头:分配账号通知）*/
	@Excel(name = "通知类型（1:通讯录申请确认通知,2:通讯录申请被同意通知,3:通讯录申请被拒绝通知,PD打头:流程消息, AS打头:分配账号通知）", width = 15)
    @ApiModelProperty(value = "通知类型（1:通讯录申请确认通知,2:通讯录申请被同意通知,3:通讯录申请被拒绝通知,PD打头:流程消息, AS打头:分配账号通知）")
	private String noticeType;
	/**通知内容*/
	@Excel(name = "通知内容", width = 15)
    @ApiModelProperty(value = "通知内容")
	private Object noticeContent;
	/**参数1（根据通知类型而不同）*/
	@Excel(name = "参数1（根据通知类型而不同）", width = 15)
    @ApiModelProperty(value = "参数1（根据通知类型而不同）")
	private String noticeParam1;
	/**参数2（根据通知类型而不同）*/
	@Excel(name = "参数2（根据通知类型而不同）", width = 15)
    @ApiModelProperty(value = "参数2（根据通知类型而不同）")
	private String noticeParam2;
	/**参数3（根据通知类型而不同）*/
	@Excel(name = "参数3（根据通知类型而不同）", width = 15)
    @ApiModelProperty(value = "参数3（根据通知类型而不同）")
	private String noticeParam3;
	/**参数4（根据通知类型而不同）*/
	@Excel(name = "参数4（根据通知类型而不同）", width = 15)
    @ApiModelProperty(value = "参数4（根据通知类型而不同）")
	private String noticeParam4;
	/**参数5（根据通知类型而不同）*/
	@Excel(name = "参数5（根据通知类型而不同）", width = 15)
    @ApiModelProperty(value = "参数5（根据通知类型而不同）")
	private String noticeParam5;
	/**状态（0:未阅读,1:已阅读未处理,2:已阅读并处理完毕,9:已失效）*/
	@Excel(name = "状态（0:未阅读,1:已阅读未处理,2:已阅读并处理完毕,9:已失效）", width = 15)
    @ApiModelProperty(value = "状态（0:未阅读,1:已阅读未处理,2:已阅读并处理完毕,9:已失效）")
	private Integer status;
	/**阅读时间*/
	@Excel(name = "阅读时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "阅读时间")
	private Date readTime;
	/**预留字段1*/
	@Excel(name = "预留字段1", width = 15)
    @ApiModelProperty(value = "预留字段1")
	private String field1;
	/**预留字段2*/
	@Excel(name = "预留字段2", width = 15)
    @ApiModelProperty(value = "预留字段2")
	private String field2;
	/**预留字段3*/
	@Excel(name = "预留字段3", width = 15)
    @ApiModelProperty(value = "预留字段3")
	private String field3;
	/**预留字段4*/
	@Excel(name = "预留字段4", width = 15)
    @ApiModelProperty(value = "预留字段4")
	private String field4;
	/**预留字段5*/
	@Excel(name = "预留字段5", width = 15)
    @ApiModelProperty(value = "预留字段5")
	private String field5;
	/**预留字段6*/
	@Excel(name = "预留字段6", width = 15)
    @ApiModelProperty(value = "预留字段6")
	private Integer field6;
	/**预留字段7*/
	@Excel(name = "预留字段7", width = 15)
    @ApiModelProperty(value = "预留字段7")
	private Integer field7;
	/**创建者*/
	@Excel(name = "创建者", width = 15)
    @ApiModelProperty(value = "创建者")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新者*/
	@Excel(name = "更新者", width = 15)
    @ApiModelProperty(value = "更新者")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
	/**备注信息*/
	@Excel(name = "备注信息", width = 15)
    @ApiModelProperty(value = "备注信息")
	private String remarks;
	/**删除标记*/
	@Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
	private String delFlag;
	/**物业公司id*/
	@Excel(name = "物业公司id", width = 15)
    @ApiModelProperty(value = "物业公司id")
	private String tenantId;
}
